package com.mtsmda.ws.rest.jboss.services;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.core.Response;

@Path(value="/message")
public class MessagePrintService {
	
	@GET
	@Path("/{param}")
	public Response printMessage(@PathParam("param") String msg){
		String s = "JBoss - " + msg;
		
		return Response.status(200).entity(s).build();
		
	}
	
}